<!DOCTYPE html>
<html lang="{{ app()->getLocale() }}">

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <!-- CSRF Token -->
    <meta name="csrf-token" content="{{ csrf_token() }}">
    @yield('title')
    @yield('keywords')
    @yield('description')
            <!-- Styles -->
    @section('styles')@show
            <!-- Scripts Before -->
    @section('scriptsbefore')@show
</head>

<body>
@section('content')@show

        <!-- Scripts after-->
@section('scriptsafter')@show
<script>
    @if(session('success'))
        sweetAlert("哎呦……", "{{session('success')}}", "success");
    @elseif(session('error'))
        sweetAlert("哎呦……", "{{session('error')}}", "error");
    @endif
</script>

</body>

</html>